function HideShow(document) {
var x = 0;

var form = document.forms[0];
	if(x==1){	//����
		document.getElementById("block").style.visibility = "hidden";
		document.getElementById("block").style.width = "0px";
		document.getElementById("block").style.height = "0px";
//		document.getElementById('sw1').disabled = false;
		x = 0;
	}else{		//�J��
//	form.to.required = "";
//	alert(form.cc.validity.valueMissing);
//	alert(form.to.validity.valueMissing);
//	alert(form.to.required);
//alert(form[0].value);

	for(var i = 0; i < form.length; i++) {
		//alert(form[i].value);
		if (!form[i].validity.valid) {
			return;
		}
	}
		document.getElementById("block").style.visibility = "visible";
		document.getElementById("block").style.width = "920px";
		document.getElementById("block").style.height = "530px";
		document.getElementById("block").style.top = "30px";
		document.getElementById("block").style.left = "170px";
//		document.getElementById("sw1").disabled = true;
		x = 1;

	}
}
